import {createRouter, createWebHashHistory} from "vue-router"

import search from "../views/search/Search.vue"
import myList from "../views/myList/MyList.vue"
import setUp from "../views/setUp/SetUp.vue"
import songSheet from "../views/songSheet/SongSheet.vue"
import theCharts from "../views/theCharts/TheCharts.vue"

const routes = [

    {
        path:'/search',
        component:search
    },
    {
        path:'/myList',
        component:myList
    },
    {
        path:'/setUp',
        component:setUp
    },
    {
        path:'/songSheet',
        component:songSheet
    },
    {
        path:'/theCharts',
        component:theCharts
    }
]

const router = createRouter({
    history:createWebHashHistory(),
    routes
})

export default router
